using Moq;
using NBehave.Spec.NUnit;
using NUnit.Framework;

namespace MoqExamples
{
    [TestFixture]
    public class FailingTests
    {
        [Test, Ignore("From what I can tell there is no ability to mock a ref parameter in moq")]
        public void Handling_ref_parameters_in_mocks()
        {
            var mock = new Mock<ISampleClass>();

            var outString = "string";
            mock.Setup(s => s.MethodWithRefParameter(ref outString));

            var anotherString = "12345";
            mock.Object.MethodWithRefParameter(ref anotherString);
            anotherString.ShouldEqual("string"); //This fails... 

            //Also do not see that there is an ability to specify what the stub should return based on given arguments.
        }
    }
}